package com.sxt.atm;

import java.awt.EventQueue;
import java.awt.Font;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;

import javax.swing.JDialog;
import javax.swing.JLabel;

public class LoginSuccess extends JDialog {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * Launch the application
	 * @param args
	 */
	public static void main(String args[]) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					LoginSuccess dialog = new LoginSuccess();
					dialog.addWindowListener(new WindowAdapter() {
						public void windowClosing(WindowEvent e) {
							System.exit(0);
						}
					});
					dialog.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the dialog
	 */
	public LoginSuccess() {
		super();
		getContentPane().setLayout(null);
		setBounds(100, 100, 204, 94);

		final JLabel label = new JLabel();
		label.setFont(new Font("", Font.PLAIN, 22));
		label.setText("登录成功！");
		label.setBounds(46, 10, 110, 40);
		getContentPane().add(label);
		//
	}

}
